﻿using GdHotel.Data.Interfaces;
using GdHotel.Data.Repositories;
using UniqueTechnologies.Data.Interfaces;

namespace GdHotel.Web.DI
{
    public class NinjectModule : Ninject.Modules.NinjectModule
    {
        public override void Load()
        {
            Bind<IAdditionalMenuItemsRepository>().To<AdditionalMenuItemsRepository>();

            Bind<ICustomPagesRepository>().To<CustomPagesRepository>();

            Bind<IEmailsRepository>().To<EmailsRepository>();

            Bind<IGalleriesRepository>().To<GalleriesRepository>();
            
            Bind<IImagesRepository>().To<ImagesRepository>();

            Bind<ILanguagesRepository>().To<LanguagesRepository>();

            Bind<IMainMenuItemsRepository>().To<MainMenuItemsRepository>();

            Bind<IMessagesRepository>().To<MessagesRepository>();
            
            Bind<INewsRepository>().To<NewsRepository>();

            Bind<INotesRepository>().To<NotesRepository>();

            Bind<IRoomsRepository>().To<RoomsRepository>();

            Bind<IRoomTypesRepository>().To<RoomTypesRepository>();

            Bind<ISideBlocksRepository>().To<SideBlocksRepository>();

            Bind<ISideBlocksCustomPagesRepository>().To<SideBlocksCustomPagesRepository>();
        }
    }
}